Skip to content

Add third-party test for cumsum with axis=None and out - #3088

Merged
antonwolfy merged 3 commits into
masterfrom
add-cumsum-no-axis-out-test
Oct 12, 2026
Merged

antonwolfy merged 3 commits into
masterfrom
add-cumsum-no-axis-out-test

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds test_cumsum_no_axis to the third-party TestCumsum suite in dpnp/tests/third_party/cupy/math_tests/test_sumprod.py aligning with CuPy test suite.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

Backport test_cumsum_no_axis to cover cumsum on a 2-D input with axis=None and a 1-D out array in C and F order, and check that the input array is not modified.
@antonwolfy antonwolfy added this to the 0.21.0 release milestone Oct 7, 2026
@antonwolfy antonwolfy self-assigned this Oct 7, 2026
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev13=np2py314h8d9cdd5_6 ran successfully.
Passed: 1376
Failed: 0
Skipped: 6

@coveralls

coveralls commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Coverage Status

No base build to compare — add-cumsum-no-axis-out-test into master

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thank you @antonwolfy

@antonwolfy
antonwolfy merged commit 56fc4ab into master Oct 12, 2026
111 of 118 checks passed
@antonwolfy
antonwolfy deleted the add-cumsum-no-axis-out-test branch October 12, 2026 14:28
github-actions Bot added a commit that referenced this pull request Oct 12, 2026
This PR adds `test_cumsum_no_axis` to the third-party `TestCumsum` suite
in `dpnp/tests/third_party/cupy/math_tests/test_sumprod.py` aligning
with CuPy test suite.

- [x] Have you provided a meaningful PR description?
- [x] Have you added a test, reproducer or referred to an issue with a
reproducer?
- [x] Have you tested your changes locally for CPU and GPU devices?
- [x] Have you made sure that new changes do not introduce compiler
warnings?
- [ ] Have you checked performance impact of proposed changes?
- [ ] Have you added documentation for your changes, if necessary?
- [ ] Have you added your changes to the changelog? 56fc4ab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants